package de.tayrracer;

import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

public class MainWindow {
	final static float version = 0.001f;
    public static void main(String[] args) {
        Frame f = new Frame("Tayrracer v."+version+" Alpha");
        f.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
                System.exit(0);
            }
        });
        f.setResizable(false);
        f.add(new TayrracerMain(), BorderLayout.CENTER);
        f.pack();
        f.setVisible(true);
	}
}
